package Object.net.tjdz.model;

public class Student extends Person {
    private String gender;

    public Student(String id, String name, int age, String gender) {
        super(id, name, age);
        this.gender = gender;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getdetail() {
        return "";
    }

    @Override
    public String toString() {
        return super.toString() + "性别：" + gender;
    }


}